﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace VerdePimienta2._0
{
    public partial class BuscarCliente : Form
    {
        public BuscarCliente()
        {
            InitializeComponent();
        }

        //private void fillByToolStripButton_Click(object sender, EventArgs e)
        //{
        //    try
        //    {
        //        this.buscarClienteTableAdapter.FillBy(this.verdepimientadbDataSet.BuscarCliente, nombreToolStripTextBox.Text);
        //    }
        //    catch (System.Exception ex)
        //    {
        //        System.Windows.Forms.MessageBox.Show(ex.Message);
        //    }
        //    if (Seleccionar.Equals(true))
        //    {
                
        //    }

        //}

        //public static void DataGridView1_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e) 
        //{
        //    System.Drawing.Point pt = new Point(e.X, e.Y);
        //    DataGrid.HitTestInfo hti = DataGridView1.HitTest(pt);
        //    if (hti.Type == DataGrid.HitTestType.Cell) 
        //    {
        //        dataGridView1.CurrentCell = new DataGridCell(hti.Row, hti.Column);
        //        dataGridView1.Select(hti.Row);
        //    }
        //}

        //private void dataGridView1_SelectionChanged(object sender, EventArgs e)
        //{
        //    dataGridView1 row = dataGridView1.CurrentRow;

        //    if (row != null) 
        //    {
        //        idTextBox.Text = row.ce
        //    }

        //}
    }
}
